<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%-- <c:if test="${list3 == null }">
	<script >alert('您没有权限访问,请先登录用户!'); window.location.href='${pageContext.request.contextPath }/Login.jsp';</script>
</c:if> --%>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<!-- 引入 -->
<%@ include file="inc/head.jsp" %>
<title>订单管理</title>
</head>
<body>
	
	<!-- 头部 -->
	<%@ include file="inc/head2.jsp" %>
	
	<!-- 购物车 -->
	<%@ include file="inc/shopping.jsp" %>


	<!--End Header End-->
	<div class="i_bg bg_color">
		<!--Begin 用户中心 Begin -->
		<div class="m_content">
		
			<!-- 左边 -->
			<%@ include file="inc/m_left.jsp" %>
			
			
			<div class="m_right" id="content">
				<p></p>
				<p></p>
				<div class="mem_tit">订单列表</div>
				<table border="0" class="order_tab"
					style="width: 930px; text-align: center; margin-bottom: 30px;"
					cellspacing="0" cellpadding="0">
					<tbody>
						<c:forEach items="${list3 }" var="item">
							<tr class="td_bg">
								<td>${list2.loginName }</td>
								<td><a href="#">${item.serialNumber }</a></td>
								<td>地址:${item.userAddress }</td>
								<td>￥ ${item.price }</td>
							</tr>
							<tr>
							</tr>

							<tr>
								<td colspan="4">
									<table border="0" class="order_tab"
										style="width: 930px; text-align: center; margin-bottom: 30px;"
										cellspacing="0" cellpadding="0">
										<tbody>
											<tr>
												<td width="20%">商品名称</td>
												<td width="20%">商品图片</td>
												<td width="25%">数量</td>
												<td width="25%">价格</td>
											</tr>
											<tr>
												<td>${item.name }</td>
												<td><a href="#" target="_blank"> <img
														src="${pageContext.request.contextPath }/files/${item.fileName}"
														width="50" height="50"></a></td>
												<td>${item.quantity }</td>
												<td>${item.price}</td>
											</tr>

										</tbody>
									</table>
								</td>
							</tr>
						</c:forEach>
					</tbody>
				</table>

				<div class="pages">
					<a href="#" class="p_pre">首页</a><a href="#" class="cur">1</a><a
						href="#" class="p_pre">尾页</a>
				</div>
			</div>
		</div>
		
		<!-- 脚部 -->
		<%@ include file="inc/footer.jsp" %>
	</div>
</body>
</html>
